<?php

require_once 'include/language_manager.inc.php';
Language_Manager::getInstance();

$meta["title"] = L::meta_contact_title;
$meta["description"] = L::meta_contact_description;
$meta["keywords"] = L::meta_contact_keywords;

require "include/template_manager.inc.php";
$myTemplate = new Template_Manager('contact', null, true, 4, $meta);

if (getLanguage() == "it") {
    $prefix = "/";
} else {
    $prefix = "/en/";
}
$myTemplate->setCanonicalUrl($prefix . "contatti/");

$myTemplate->setBodyContentString("nav_message", L::nav_message);
$myTemplate->setBodyContentString("nav_home", L::nav_home);
$myTemplate->setBodyContentString("nav_page", L::messages_contact_nav_page);

$myTemplate->setBodyContentString("input_name_value", L::contact_form_input_name_value);
$myTemplate->setBodyContentString("input_name_title", L::contact_form_input_name_title);

$myTemplate->setBodyContentString("input_email_value", L::contact_form_input_email_value);
$myTemplate->setBodyContentString("input_email_title", L::contact_form_input_email_title);

$myTemplate->setBodyContentString("input_object_value", L::contact_form_input_object_value);
$myTemplate->setBodyContentString("input_object_title", L::contact_form_input_object_title);

$myTemplate->setBodyContentString("input_message_title", L::contact_form_input_message_title);
$myTemplate->setBodyContentString("input_message_send", L::contact_form_input_message_send);

$myTemplate->setBodyContentString("contact_school_name", L::messages_contact_school_name);
$myTemplate->setBodyContentString("contact_position", L::messages_contact_position);
